package org.csu.newpetstoreback.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
@TableName("category")
public class Category {

    @TableId(value = "categoryid", type = IdType.INPUT)
    private String categoryId;

    @TableField(value = "cName")
    @JsonProperty("cName")
    private String cName;

    @TableField(value = "cImage")
    @JsonProperty("cImage")
    private String cImage;

}
